﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using System.Data.Entity;
using ABCTile.Models;
using ABCTile.DAL;

namespace ABCTile.Controllers
{
    public class TestController : Controller
    {
        //
        // GET: /Test/
        private ABCDbContext db = new ABCDbContext();

        public ActionResult ExampleForRazorView1()
        {
            var Tile = db.Tiles.FirstOrDefault();
            return View(Tile);
        }

        public ActionResult ExampleForRazorView2()
        {
            return View();
        }

    }
}
